<?php
	$querymenu[550] = mysql_query("SELECT DISTINCT mcgallery_album.idalbum codalbum, mcgallery_album.descr descalbum, mcgallery.album segmento FROM mcgallery_album, mcgallery WHERE mcgallery.idalbum = mcgallery_album.idalbum ORDER BY mcgallery_album.descr LIMIT 10");
	print mysql_error();
	while($resultmenu = mysql_fetch_array($querymenu[550])) {
		$temp_id = $resultmenu['codalbum'];
		//$temp_date = convdate($resultmenu['timestamp']);
		$temp_segmento = $resultmenu['segmento'];
		$temp_title = $resultmenu['descalbum'];
		print("<b><img src='images/arrow.gif'>&nbsp;" .$temp_segmento . " </b><a href=\"galeria.php?id=" . $temp_id . "\"><br>&nbsp;&nbsp;" . $temp_title . "</a><br>");
		echo '<div style="clear:both; padding-bottom:10px;"></div>';
	} //End While
	?>
